//
//  Utils.h
//  iSudoku
//
//  Created by Tri Vo on 5/22/13.
//  Copyright (c) 2013 Tri Vo. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "cocos2d.h"


#define GAME_LEVEL_EASY 101
#define GAME_LEVEL_NORMAL 102
#define GAME_LEVEL_HARD 103

#define GAME_MODE_NORMAL 201
#define GAME_MODE_COUNTDOWN 202


@interface GameUtils : NSObject {
    int mCurrentLevel;
    NSDictionary *appLanguages;
    int gameMode;
}


+ (id) getInstance;

- (BOOL) isSoundOn;
- (void) setSoundOn:(BOOL) bVal;
- (BOOL) isMusicOn;
- (void) setMusicOn:(BOOL) bVal;
- (int) getCurrentLevel;
- (void) setCurrentLevel:(int)level;
- (NSString *) getCurrentLanguage;
- (void) loadLanguage;
- (void) setLanguage:(BOOL)en;
- (NSString *) getValueForKey:(NSString *)key;
- (NSString *) getSystemFontName;
- (void) resizeSprite:(CCSprite*)sprite toWidth:(float)width toHeight:(float)height;
-(NSString *) getDateWithLong:(CGFloat)lTime;
-(int) getGameMode;
-(void) setGameMode:(int)mode;
-(void) doBack;

@end
